package com.pope.framework.triage.modular.dto;

import javax.validation.constraints.NotBlank;

import org.hibernate.validator.constraints.Length;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description= "医疗卡号信息")
public class MedicalCardDto extends IdNumDto{

	@NotBlank(message="医疗卡号不能为空")
	 @Length(max=40,message="医疗卡号最大长度为40")
	@ApiModelProperty(value = "医疗卡号",dataType="String",required=true)
    private String medicalCardNumber;
}
